﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Alos.Entity;

namespace Alos.IRepository
{
    public interface IReExamRepository : IBaseRepository<ReExam>
    {
        /// <summary>
        /// (点击推送)检查上一批次课堂测验是否正常结束.创建课堂检测表
        /// </summary>
        /// <param name="LessionID">备课编码</param>
        /// <param name="TeacherID">老师ID</param>
        /// <returns></returns>
        ReExam GetReExamByLessionID(int LessionID, int TeacherID);        
        /// <summary>
        /// 新增1条课堂检测
        /// </summary>
        /// <param name="LessionID">备课编码</param>
        /// <param name="TeacherID">老师ID</param>
        /// <returns></returns>
        bool CreatReExam(ReExam ReExam);
        /// <summary>
        /// 修改上一批次课堂测验
        /// </summary>
        /// <param name="ReExamID">课堂测验ID</param>
        /// <returns>课堂检测</returns>

        bool UpdateReExamByReExamID(string ReExamID);
        
    }
}
